package work20241204.a_final;

/**
 * @author zdl
 * @date 2024/12/4
 */
public class Demo {
    public static void main(String[] args) {
        Son son = new Son();
        son.age = 12;
        System.out.println(son.age);
        //son.num = 2;//被final修饰的属性不能被修改
        son.test();
    }
}
